package cn.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2020-06-02
 */
@TableName("my_config_about")
public class ConfigAbout extends Model<ConfigAbout> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 上侧内容
     */
    private String contentup;
    /**
     * 下侧内容
     */
    private String contentdown;
    /**
     * 添加时间
     */
    private Date adddate;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContentup() {
        return contentup;
    }

    public void setContentup(String contentup) {
        this.contentup = contentup;
    }

    public String getContentdown() {
        return contentdown;
    }

    public void setContentdown(String contentdown) {
        this.contentdown = contentdown;
    }

    public Date getAdddate() {
        return adddate;
    }

    public void setAdddate(Date adddate) {
        this.adddate = adddate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ConfigAbout{" +
        ", id=" + id +
        ", contentup=" + contentup +
        ", contentdown=" + contentdown +
        ", adddate=" + adddate +
        "}";
    }
}
